	
<div class="page-content">
	<div class="row">
		<div class="col-xs-12"> 
			<form name="userForm" id="userForm" novalidate="" role="form"> 
				<div class="form-horizontal">
					<div class="form-group">
						
						<div class="col-sm-12">
							<div class="input-group col-xs-12 col-sm-12 ">
								<script id="editor" type="text/plain" style="width:100%;height:300px;"></script>
							</div>
						
						</div>
					</div>
					
					
					
					
				
					<div id="alert_box"></div>
					<div class="clearfix form-actions">
						<div class="col-md-offset-3 col-md-9 col-sm-9">
							<button id="save" class="col-sm-2 btn btn-success"  type="button" >
								<i class="icon-save bigger-110"></i>
							 	<span id="submitbutton">保存</span>
							</button>
							
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>

<script type="text/javascript" charset="utf-8" src="__PUBLIC__/dest/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/dest/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript" charset="utf-8" src="__PUBLIC__/dest/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		window.UEDITOR_HOME_URL = '__PUBLIC__/dest/ueditor/';
		var ue = UE.getEditor('editor');
		//UE.getEditor('editor').setContent("{$about_info['content']}");
		//$('#test').innerHTML('abdsfsd');
		ue.addListener("ready", function () {
        // editor准备好之后才可以使用
		        ue.setContent('{$about_info['content']}');

		});
		$('#save').click(function(){
			$.ajax({ 
	            url: "{:U('Station/edit_about_info')}",  
	            data:{'content': UE.getEditor('editor').getContent()},
	            dataType:'json',
	            type:'POST',
	            success: function(data){
	                if (data.ret == 1){
	                    $("#alert_box").jk_alert({ msg: data.msg, type: 'success', show_time: 3500 });
	                }else{
	                    $("#alert_box").jk_alert({ msg: data.msg, type: 'danger', show_time: 3500 });
	                }
	            }
	        });
		});
	});
</script>